method TestSession.[Symbol.asyncDispose]
TestSession.[Symbol.asyncDispose](): Promise<void>

Closes the session at the end of an await using block.

Return Type

Promise<void>

Usage

import { type TestSession } from "lib/api/session.ts";